SMS: Python testing cookbook