Added unit tests for CameraUtils.