create model tests for snippet module