added tests for units and battles