Use deep comparison to compare a topic in tests