Adjust unit test to confirm null permission fix (issue-259)