added simple test files and test script, wrote new load_halos method