fix up the tests in Phantom