scaffold middlewarify...
implement 'use' func
scaffold tests
fix bugs
define test cases
use invoke sequence tests pass