Some test function for python