Add CompetitionBase: now competitions can be created in form of unit tests.