Don't require a global mocha to run testing script.
Allocating IDs should require a kind, not a key.