Fix mws-query integration test.

 - simplified response test
 - kill mwsd in case make test is interrupted