Add test for serializing an Any to a file