Added working tests for C++ images