simple python test cases