Integration tests of multiple connected gates and some smaller changes.