A simpler method for life-testing laser diodes