Add Devise helper to tests and fix unique email issue