test was wrong, now null protection works correctly