update test with latest text.js
Fixes #414, allow define() with just id and identifier for factory.
snapshot