Fix -Wshadow issues with EXPECT_OPEN_OK(..) macro
- Wrap in do-while(0) block to avoid variable shadowing issue with multiple calls in the same function.
- Prefix block local variables with _ to try and avoid variable name clashes with values local to test methods.