added basic tests for leagues controller.