Added unit tests for Data