was added test for service with promise, fix
added unit tests for ModelDataService
was added tests for ModelDataService
some refactoring