more fixes to get through acrobot unit tests.