Avoid pollution of test case with ANSI codes

Apparently, Curses was outputting system-specific terminal codes which
caused test cases to fail some places. This test update makes it stop by
not running the interactive REPL.