Use t.error() so errors are easier to debug in the browser