Added unit test for wrapping in framed graph factory.