Add expectation testing code to clickwork.