Added test for snippet model