check for null for unit tests