added jasmine given snippets