fix test that broke on TravisCI to correctly reflect behavior of updateNamedEntity()