Fixed failing test because of isNil().