Updated test_joint_angles.py to test for preemption