Harry smiles at Ginny in a way to make himself look impressive and that he may have brains as well as Brawn but truth be told, in Hermione's head he had neither and would more than likely fail Snape's test. Ron on the other hand laid his head into his hands with an inhuman noise as he started panicking about a test he never had the intention of studying for.