Automated Testing Tool For Plc Based Industrial Applications