Introducing tests for equals function