order tests into phases