Added a new test for data object reading/writing