Skip some tests if themes have not been installed. bugid:110323
Fixed some tests. bugid:110323