Fix heat unittests command and add a heat functest