Adding unittests for undercloud.py