Adding test for metadata serde