Game Engine fixes

one of my commits about repairs had gone so i have fixed that.
Also fixed duplication bug in setupPowerPlantComfuguration.
game engine tests

repair test
setupPowerPlantConfig test