Added unit tests for immutable model classes