added apartment and user_apartment association
added some simple tests for apartment