Apartments API implementation, tests and integration. Tests script improved.