fixing test_regexp to exclude vendor specs, and some linting