Overrided the equals method in SpotConfiguration for comparision in unit tests