add more tests for parse::trim and use faster check for existing files