making test script a tad cleaner & more informative for missing files
fixing remaining errors.