fix omniauth helper
fix snippets controller tests
add database cleaner, but useless for now
add #index assign snippets test