'Verify we can add an XBlock to a Library.'

def test_add_xblock(self):

    lib = LibraryFactory.create()
    self.create_xblock(parent_usage_key=lib.location, display_name='Test', category='html')
    lib = self.store.get_library(lib.location.library_key)
    self.assertTrue(lib.children)
    xblock_locator = lib.children[0]
    self.assertEqual(self.store.get_item(xblock_locator).display_name, 'Test')
