Added equals and hashcode methods
Changed JUNIT test for resource managerables. Changed mock data source.