Skip some tests if all required modules are not installed. bugid:110323