UserInputTest: changed new test, using a read() instead.