More tests for equals function