Add testing support for reading inputs