unit test for command without -i option