add test case for python

change toplevel label

fix test case