tests: dynamically packed middleware test coverage. Ref #97