Add some pointer-null compare tests.  Use references when setting pointer values.