added console log to test for stopCamera