fix hasSnippets method on Tag model
add tests for User model