Slight change to an error message.
Some basic tests for sim.capt().