integration with motors, also added test_commands