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

This is the same edit reviewed by @dcporter [here](https://github.com/unicolet/sproutcore/commit/d25d5efab1af19c195aa83d3010009b2dcd20dac).