added mana pool and tests for it