support ability to run tests in two stages