support method override in form post, add tests, fix test for plugin return objects