corrected wrong test in pendulum.py