phpunit workaround

For some reason, the unit tests don't like the use of NULL here.  Use the
is_null() function instead.