#617
Rewrite the entity sub-generator
Rewrite the javascript unit-test