Test principal == null