Add assert.throws(block, predicate, [message]) function