refactored tests after changing the API

I changed the object that is in the processors list. The object is not
“endpoint”.