Improve error detection in @parameterize.

This has nothing to do with the API additions, but it is a useful
addition when writing new parameterized tests.
ContentManager add_get_handler and get_content.