Imp. add unittests

To resolve #14

This unittests uses GMock. If you need very simple sample of Arduino
unittest using GMock, please refer to
https://github.com/ikeyasu/arduino-gmock-sample