Fixed package path of class file in python test files. Added support for non-static functions in functions.py files