Added functional motor testing scriptworks on linux, may have issue on Mac