DRYed up the linter tests