Add camera testing code.