added snippet model test