unit tests all pass in pendulum and cartpole example directories.