Fixes.
Update gruntfile to test both functions.