A Pattern-Based Coordination and Test Framework for Multi-Agent Simulation of Production Automation Systems