improve start/shutdown of test servers

 - give more time for test server to start
 - shutdown both test and proxy server on failure