added empty term test