wrote tests for camera