Bug 1061513 Fixes hint errors in tests/ directory r=kgrandon