Add string query test
Add bool functional tests