Updated test to pass motor instance