Does this also work if the tests are run from an IDE? Just out of curiosity, because I recall some issues with TestNG in that regard...