added missing InvalidArgumentException,
simple failure tests
test for invalid arguments
Merge branch 'ZendDiagnostics-ProcessRunning' into MaSi-develop