python tests

original commit