Unit tests for snippets views
Merge pull request #274 from mope/snippets-unit-tests

WIP: Unit tests for snippets views