I reached the same conclusion with a couple of differences. I presumed that originally their weapons were supposed to have been disabled. But, either there was a programming mistake, and they still had full power. Or, as a process of their learning abilities, they discovered their problems were easier to solve with functional weapons, and were able to turn them back on.
Doc may not be mad at all. This test may be going far better than they expected, and a little damage to the office is be expected during this kind of testing. I could see Doc and Roger discussing the obstacle course that the robots need to complete for a final test. "Well, they need to follow a target through a second story window, descend some stairs, use an elevator, and not hurt any bystanders along they way." Heck, that could be the text in the DARPA contract.