added Alans test_halo_values