Added unit test for test data serialization