dependency graph serialization tests / fixes