make tests use real HTTP app (not the express mock)

@mmalecki for your revision, thanks