removed entityExists test