test and run commands