Fix linting warnings causing tests to fail