Exercise 1.7. Tests for faulty Newton sqrt implementation.