[iOS Test App] Updated setup scripts and query tests
- Added table for parameter passing tests
- Parameterized the setup script to pass the application name
- Fixed a failed test in the client (different comparison between client and runtime)