OmeroCpp: Add portability fixes for gtest

Some combinations of gtest and the C++ standard library result in
compile failure due to the objects being tested not having
stream output operators.  Change these assertions to avoid
stream output.