tested some of the autonomous code