Add basic tests

Add basic tests for creating a connection with the brick, which is
mocked. This required a refactor of the way I originally envisioned the
project would be structured. I have also copied, almost verbatim, the
RuggedExample provided by Tinkerforge.