Get rid of regexes in dependency tests
Use specific, semver-compatible dependency versions