feature and controller tests for authenticated user saving to database