fixed test for constructor if callable consists of classname and method name