Test cases

closes #592

Wrote lots of test cases for:
* Topologies
* Elements
* Connections
* Organizations
* Sites
* Tasks

Current test coverage: 67%