[#648] Move tests to shared_examples/web_request_concern.rb

This way every agent that implements the WebRequestConcern will run these
tests as well.