final Graph g1 = graphProvider.openTestGraph(configuration);
final KryoReader reader = KryoReader.build()
.custom(graphProvider.createConfiguredGremlinKryo())
.workingDirectory(File.separator + "tmp").create();
try (final ByteArrayInputStream bais = new ByteArrayInputStream(os.toByteArray())) {
reader.readGraph(bais, g1);
}
// by making this lossy for float it will assert floats for doubles
assertModernGraph(g1, true, false);