cubicweb.ajax.js functions tests