add run and test scripts