Moved test main to original main function

Removed imageDetailsTest.cpp