added camtest.cpp