Suppress warnings in tests; and neaten performance testing code.