Make test for emptiness more accurate.