Fixed case where un-runnable tests due to dependencies caused megatest to never exit