fix tests regarding unbound methods