run test from shell script