change testing command depends on env