add scripts to run test as a command for CI