Made Python test example a little better