Add AdvancedQueryForResultLookupDBIntegrationTest