Fix the weaving class meth as string target testcase.
More refactorings. Use checks from inspect module where possible.
More tests.