deposit: adaptation to checkbox handling change

adaptation to https://github.com/inspirehep/invenio/pull/151 as `test` parameter format changed.

There is a problem with setting a custom message. I wonder how it was working before. Probably there will be a need to add a json decoder for LazyString sooner or later as described in FIXME line above.