Added some basic sanity checks for getting the input data and some
improvements to 'tests_all.sh'.