Refactoring tests

Get back test to validate if passed parameter value has only whitespaces. Test for number uses string instead of number. Remove test for NaN.