Add test coverage for em_view helper

This is a start on issue #3