1. Checking if the value is of type basestring before calling the strip method.
2. Adding Test cases for the corresponding IntegerField and FloatField.