AMBARI-5772. Add unit tests for service models (akovalenko)