Beverly | added functional test for reading input