Hafeez Contractor got nightmares about appearing for a mathematics examination in which he did not know anything.