Refs #87 - Allow defining expectations on results and fix broken test.