separated isEmpty tests