Add console-log unit test

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>