resolve lint warnings in tests