added unit tests for domain classes and a the get method to the angular service