Fix compile errors in GraphSuite and SerializerSuite

#81 introduced some compile errors in these tests; this PR fixes them.