servertest main, multiple query bug