Fixed test filepaths for Travis CI. Improved file not found error handling.