Added unit tests for Fact.equals