Refs #119 - Use captured to make tests more readable.