added query log test for rest lookup & x-forwarded-for