add tests, mdify templates, modify ajax-error-handling with
post-parameters