Testing the squaring a number function