Generate equals and hash code methods for CustomObjects. Make toString of CustomObjects null safe for value.
Add integration tests for custom objects.