world: Add internal alloc() and public destroy()
Add world unit test