Fixed bug which caused the elements in a logical unit to not be connected properly. Added additional circuit simulation tests.