Greg Geldorp : d3d8/tests: Skip tests if not running in the foreground.