fixing remoteows tests wrt different jdk png encodings

Improves sporadically failing integration tests.