existing test code for Halo