First real battle server test

Fix #811, even though more tests need to be added