wip getting battle victory to work
Add leveling up mechanism unit test. Fix deprecated warning