adjust script command to have separate test and integration-test phases