Decrease heading levels in API docs

[ci skip]
Move Rack::Test helper methods to spec_helper