Learning and testing grunt task runner