chaged spec to use more appropriate toBeNull()