add test for https://github.com/bblimke/webmock/issues/240