fix a test suite in which null was used in place of undefined. Replaced check with SC.none
Merge pull request #1041 from unicolet/pullrequest/fixingtests/textfield/ui

fix a test suite in which null was used in place of undefined. Replaced check with SC.none