Add controller tests for authentication(after solution)