Fixed typo in hook timeout error.
Fixed typo in tests.