a sneaky functional-test for checking that buying a barrack produces defenders