Added happy path tests for CompanyController

Updated pom for testing.

Also updated entities with correct hashCode and equals methods.

Change-Id: I1f19066ec814ac690c8e234426dc238fe12444f8