bugfix FakeClass equality method