Add `spec` coverage for `Refills::ImportGenerator`

Adds test coverage for generating previously defined snippets. Provides a hook
to test future snippet generation.
And it is necessary that it runs before each test? Could we document that in the commit message and also perhaps in a comment?