finished first unittests

- added open/close methods to comp/comm.py
- added test for getting sensor data, activate
- still outstanding is post changes because not
  yet implemented in code