Some garrisoning testing code