testing cases and motor prototype