fixes sporadic problem with tests in MinGW-w64 build
a couple of statements are not always needed
typo