Fixes bug 824849 - Fixed and improved middleware testing.
Fixes bug 824849 - Fixed and improved middleware testing.

cliqz/socorro,cliqz/socorro,AdrianGaudebert/socorro,Tayamarn/socorro,KaiRo-at/socorro,m8ttyB/socorro,AdrianGaudebert/socorro,Serg09/socorro,twobraids/socorro,linearregression/socorro,Tchanders/socorro,Tayamarn/socorro,mozilla/socorro,bsmedberg/socorro,AdrianGaudebert/socorro,twobraids/socorro,mozilla/socorro,linearregression/socorro,Tayamarn/socorro,Tchanders/socorro,spthaolt/socorro,lonnen/socorro,m8ttyB/socorro,twobraids/socorro,twobraids/socorro,Serg09/socorro,spthaolt/socorro,bsmedberg/socorro,yglazko/socorro,KaiRo-at/socorro,linearregression/socorro,AdrianGaudebert/socorro,rhelmer/socorro,Tchanders/socorro,Serg09/socorro,pcabido/socorro,mozilla/socorro,Tchanders/socorro,spthaolt/socorro,cliqz/socorro,bsmedberg/socorro,Tayamarn/socorro,adngdb/socorro,Tayamarn/socorro,luser/socorro,cliqz/socorro,pcabido/socorro,linearregression/socorro,m8ttyB/socorro,Serg09/socorro,pcabido/socorro,mozilla/socorro,rhelmer/socorro,luser/socorro,mozilla/socorro,luser/socorro,pcabido/socorro,Tchanders/socorro,rhelmer/socorro,cliqz/socorro,adngdb/socorro,rhelmer/socorro,lonnen/socorro,cliqz/socorro,twobraids/socorro,spthaolt/socorro,spthaolt/socorro,spthaolt/socorro,AdrianGaudebert/socorro,linearregression/socorro,luser/socorro,yglazko/socorro,yglazko/socorro,bsmedberg/socorro,twobraids/socorro,adngdb/socorro,yglazko/socorro,KaiRo-at/socorro,pcabido/socorro,yglazko/socorro,luser/socorro,mozilla/socorro,adngdb/socorro,pcabido/socorro,m8ttyB/socorro,KaiRo-at/socorro,m8ttyB/socorro,rhelmer/socorro,Tchanders/socorro,KaiRo-at/socorro,rhelmer/socorro,Serg09/socorro,yglazko/socorro,Serg09/socorro,AdrianGaudebert/socorro,adngdb/socorro,Tayamarn/socorro,bsmedberg/socorro,m8ttyB/socorro,KaiRo-at/socorro,adngdb/socorro,lonnen/socorro,linearregression/socorro,luser/socorro,lonnen/socorro