Added  tests for snippets: url, date, if