TEST - Adds convenience function to test harness for DM

This adds a convenience function that is used by the integration tests for some of the new agents. This does not affect any current functionality and has no impact on the system, it only eases future integration testing.