Filename tab-completion with libreadline; Modularize run_tests.sh