test autonomous code