fixes for grunt test