refactoring unit test generator into a local self-contained grunt task