Every component test now uses injected mongoose to drop the database when needed.
Added all tests for getting snippets by some criteria (id, creator name and all snippets).
Required the newly added getting snippets tests.