#20 add test for apartments API