Added Test autonomous code