python tutorial for testing