test -i for interaction