Even when Mr Ugly the rat escaped Hermione was happy. Hermione's patronus lessons had continued, and Hermione's patronus had solidified enough for Hermione to tell it was avian. She had done some reading too.