require('./proof')(8, function (step, once, deepEqual, ok) {
    var stream = require('stream')
    step(function () {
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['put'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: "PUT" }, 'body')
        var input = new stream.PassThrough()
        input.end('_method=put', 'utf8')
        once(step, 'fixtures//verb', ['post'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'POST' }, 'body')
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['delete'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'DELETE' }, 'body')
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['patch'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'PATCH' }, 'body')
    })
})

require('./proof')(8, function (step, once, deepEqual) {
    var stream = require('stream')
    step(function () {
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['put'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: "PUT" }, 'body')
        var input = new stream.PassThrough()
        input.end('_method=put', 'utf8')
        once(step, 'fixtures//verb', ['post'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'POST' }, 'body')
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['delete'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'DELETE' }, 'body')
        var input = new stream.PassThrough()
        input.end('a=1', 'utf8')
        once(step, 'fixtures//verb', ['patch'], input)
    }, function (response) {
        deepEqual(response.headers['content-type'], 'text/plain', 'content type')
        deepEqual(JSON.parse(response.body), { method: 'PATCH' }, 'body')
    })
})

Remove `ok` parameter from verb test.