'Check we can run WMI based artifacts.'

def testChrome(self):

    with self.MockClientMountPointsWithImage(os.path.join(self.base_path, 'test_img.dd')):
        fd = self.RunCollectorAndGetCollection([webhistory.ChromeHistory.__name__], client_mock=self.client_mock, use_tsk=True, knowledge_base=self.kb)
    self.assertEqual(len(fd), 71)
    self.assertTrue(('/home/john/Downloads/funcats_scr.exe' in [d.download_path for d in fd]))
    self.assertTrue(('http://www.java.com/' in [d.url for d in fd]))
    self.assertTrue(fd[0].source_urn.Path().endswith('/home/test/.config/google-chrome/Default/History'))
