Added unit tests for class equality operator