python basic tests