test from CLI