Fixes hint errors in tests/ directory