Properly handle shell unit tests which check versions.