Modified test scripts; added query to packet