def METHOD_NAME(self):
    self.create_plugin(name='Name', desc='Desc', funcs=['plugin_playlist'])
    self.create_plugin(name='Name2', desc='Desc2',
                       funcs=['plugin_albums'])
    self.pm.rescan()
    self.assertEquals(len(self.pm.plugins), 2)