fixes in tests. gear_box.