Improved readinput_test.py