Make tests pass and add single run for karma to Gruntfile