Closes #2 Tests for ranks_controller