Move test helpers into common
Respect the Law of Demeter

Move logic into the layer so the renderer doesn't need to know how it
works.
Merge pull request #52 from brentongunning/master

Merge latest