Yes, that makes sense. I'd mark the Fongo dependency itself as <optional>true</optional and describe in the documentation that users need to add Fongo and slf4j in test scope to their project.