test as a terminal