Skip some tests if we don't have access to a tty