Add basic unit tests for the bot

This commit adds some simple unit tests for bot.py to add some basic
testing for the bot.

Change-Id: I02ea82a1c0a6987178060e20bb2aca53b5a30063
Merge "Add basic unit tests for the bot"