test/countineyn terminal and error code