[view] [test] view.middle and http integration tests

Continuation of #37