Fix up test generation and helper for coverage. Update gruntfile to cleanup coverage.