added apartment model unit test