Improve coverage

Comment From: snicoll

Thanks for the PR but hasHttpHandlerDecorator is trivial and the tests here consist of setting something on the builder and asserting it has been set. While it does indeed increase coverage, those tests do not bring a lot of value on their own.