fix linting errors in test files