Refactor dependency tests to avoid regexes