changed method to POST all entities
now it is on test, called EntityChooserTest