Add a few more tests

This patch adds the obvious test cases to increase code coverage.

Change-Id: I6772b197f1a3677e3c57d948d88c2d49403ee869
Signed-off-by: Robert Varga <rovarga@cisco.com>