Test for interactive shell