Add test case for dynamic item creation/destruction.
Fix Qt4 plugin loading.
Handle item creation.