Change == to === in tests for String.to_integer and String.to_float.

Change made per @alco; test is more rational and robust than ==.