fixing test-instance start process
fixed user-and-query script