Assert the AjaxSynchroniser:registerTask function is passed a function as its first argument
Compiled templates are stored in a nested object inside tmpl