fixing checks for FunctionTypes/MethodTypes that do not work with Cython
methods and functions
adding some very basic testing on cythonized traits classes