Photo eye test