fix spelling of "throw" in tests