Add missing core equals and hashcode tests (Don't know why code coverage has not show this before)