Added unit tests

- Connection tests
- Simple Component reading test