Custom hashcode and equals for DTOs.
Bug fixes in sensor test case & new summary integration test