Don't test `__name__`. Use `isinstance` or just test that it `==` the `Derivative` object.