fix issues with running NWChem test cases, fail early in case broken symlink is present