fixed test_coalign, and undid changes in the coalignment method brought about by bad test