Added test to verify proper saving and loading of data