add a test for READ_INPUT