updating tests, gruntfile and removing debug code