tests for registerMethod, __call, __callStatic
with object as first param