Integration tests of multiple connected gates and some smaller changes.
Merge pull request #22 from djqfr/master

Integration tests of multiple connected gates and some smaller changes.