camera test and shared pointers