OZP-853 - added unit tests, also added hasPreference rest endpoint, also added code coverage to pom
OZP-853 - added unit tests, also added hasPreference rest endpoint, also added code coverage to pom