edited formatting errors
added test for loopBack connection in each request