Add tests for Cassette.serialize