Fix the world regenerate event subscription.

The "regenerate" event may be triggered by subsequent tests.  This will
result in done being called multiple times, and a failed test.  This fix
detaches the event listener.
Merge pull request #2 from cesutherland/fix/test-world-regenerate-event

Fix the world regenerate event subscription.