merge_circuits works. Need unit tests for circuits.base, but otherwise complete.