Unit tests

We use Unity and cmock for unit testing.

To run all tests

./tools/do test