Changed condition of second test to beNil().