Add camera tests and fix initialize.