Added external entity tets