Improved test coverage of theme helpers.

refs #246
Merge pull request #1141 from halfdan/246-helper-tests

Improved test coverage of theme helpers.