Add some tests to verify equals