Added requires_puppet task decorator and tests