Fixing unit tests for openstack storage