Added unit tests for the data model layer.