Added Test for server query. Now using xml and putting it into a tier