Test: simplify battle initialization with a `common` module
Test: simplify battle initialization with a `common` module

Kokonoe-san/Glacia-PS,Pikachuun/Pokemon-Showdown,svivian/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,AWailOfATail/Pokemon-Showdown,danpantry/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,xfix/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,HoeenCoder/SpacialGaze,SkyeTheFemaleSylveon/Pokemon-Showdown,Git-Worm/City-PS,ShowdownHelper/Saffron,aakashrajput/Pokemon-Showdown,ShowdownHelper/Saffron,jd4564/Pokemon-Showdown,Sora-League/Sora,urkerab/Pokemon-Showdown,Enigami/Pokemon-Showdown,AustinXII/Pokemon-Showdown,ZestOfLife/PSserver,xCrystal/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Guernouille/Pokemon-Showdown,Mystifi/Exiled,SolarisFox/Pokemon-Showdown,KewlStatics/Alliance,TbirdClanWish/Pokemon-Showdown,AustinXII/Pokemon-Showdown,HoeenCoder/SpacialGaze,SolarisFox/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Alpha-Devs/Alpha-Server,Zarel/Pokemon-Showdown,svivian/Pokemon-Showdown,DesoGit/Tsunami_PS,sirDonovan/Pokemon-Showdown,Enigami/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,urkerab/Pokemon-Showdown,panpawn/Pokemon-Showdown,jd4564/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,xfix/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,AustinXII/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,panpawn/Gold-Server,Enigami/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,QuiteQuiet/Pokemon-Showdown,svivian/Pokemon-Showdown,Elveman/RPCShowdownServer,AWailOfATail/Pokemon-Showdown,DesoGit/TsunamiPS,Lord-Haji/SpacialGaze,Elveman/RPCShowdownServer,DarkSuicune/Pokemon-Showdown,Mystifi/Exiled,svivian/Pokemon-Showdown,KewlStatics/Shit,DesoGit/TsunamiPS,ShowdownHelper/Saffron,Mystifi/Exiled,AWailOfATail/Pokemon-Showdown,Volcos/SpacialGaze,CharizardtheFireMage/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown,panpawn/Pokemon-Showdown,zek7rom/SpacialGaze,DesoGit/Tsunami_PS,aakashrajput/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,sirDonovan/Pokemon-Showdown,Zarel/Pokemon-Showdown,Zarel/Pokemon-Showdown,HoeenCoder/SpacialGaze,xCrystal/Pokemon-Showdown,xfix/Pokemon-Showdown,danpantry/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,ZestOfLife/PSserver,Sora-League/Sora,SkyeTheFemaleSylveon/Pokemon-Showdown,Guernouille/Pokemon-Showdown,PS-Spectral/Spectral,Bryan-0/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,panpawn/Gold-Server,ZestOfLife/FestiveLife,sirDonovan/Pokemon-Showdown,PS-Spectral/Spectral,azum4roll/Pokemon-Showdown,KewlStatics/Alliance,xfix/Pokemon-Showdown,svivian/Pokemon-Showdown,KewlStatics/Shit,Volcos/SpacialGaze,Alpha-Devs/Alpha-Server,Lord-Haji/SpacialGaze,Lord-Haji/SpacialGaze,PS-Spectral/Spectral,zek7rom/SpacialGaze,EienSeiryuu/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,azum4roll/Pokemon-Showdown,DesoGit/Tsunami_PS,xfix/Pokemon-Showdown,HoeenCoder/SpacialGaze,cadaeic/Pokemon-Showdown,panpawn/Gold-Server,AnaRitaTorres/Pokemon-Showdown,urkerab/Pokemon-Showdown,Sora-League/Sora,QuiteQuiet/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Kokonoe-san/Glacia-PS,Enigami/Pokemon-Showdown,cadaeic/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,Git-Worm/City-PS,ZestOfLife/FestiveLife