fixed some failed unit tests for league model.