fix "non-persistent agent" test
fix test of "Request.getAgent for non-existing agent name"
fix test of "Request.getAgent for existing agent"