Refactoring sprints controller and creating new tests.