Improved test coverage of theme helpers.

refs #246