testing for camera