Refactored linter tests