r.ajax: put test method