Added fixes for testing

* changes to require for accurate coverage stats
* changes to package and gruntfile versions to get proper node packages