Add test for GraphMigrator.

GraphMigrator only uses Kryo now as it is non-lossy.