Ran tests on amg_cycle