Fix tests for python 2.6

Since python 2.6 is supported in openstack we need to
alter the format messages and the usage of functions
that exist in the 2.7 unittest by including unittest2
and using that instead.

Change-Id: I31c78d1f771603a6ad15ada50507cada0c5e331b