motor testing implementation (needs to be polished)