Ignore redundant do warnings in tests