snippets: allow fetching chunk from snippet so it can be tested.