Got middleware working with tests.
Got middleware working with tests.

eHealthAfrica/onadata,eHealthAfrica/formhub,mainakibui/kobocat,piqoni/onadata,SEL-Columbia/formhub,smn/onadata,piqoni/onadata,makinacorpus/formhub,awemulya/fieldsight-kobocat,ehealthafrica-ci/formhub,hnjamba/onaclone,ehealthafrica-ci/onadata,ultimateprogramer/formhub,wesley1001/formhub,ultimateprogramer/formhub,qlands/onadata,GeoODK/onadata,hnjamba/onaclone,SEL-Columbia/nmis,sounay/flaminggo-test,piqoni/onadata,wesley1001/formhub,wesley1001/formhub,jomolinare/kobocat,makinacorpus/formhub,kobotoolbox/kobocat,GeoODK/onadata,GeoODK/formhub,ultimateprogramer/formhub,jomolinare/kobocat,SEL-Columbia/nmis,smn/onadata,ehealthafrica-ci/onadata,awemulya/fieldsight-kobocat,GeoODK/formhub,SEL-Columbia/nmis,GeoODK/onadata,spatialdev/onadata,ehealthafrica-ci/formhub,mainakibui/kobocat,wesley1001/formhub,ehealthafrica-ci/onadata,SEL-Columbia/nmis,ehealthafrica-ci/formhub,awemulya/fieldsight-kobocat,qlands/onadata,SEL-Columbia/formhub,ehealthafrica-ci/onadata,awemulya/fieldsight-kobocat,eHealthAfrica/onadata,sounay/flaminggo-test,sounay/flaminggo-test,kobotoolbox/kobocat,GeoODK/formhub,SEL-Columbia/nmis,sounay/flaminggo-test,spatialdev/onadata,hnjamba/onaclone,smn/onadata,mainakibui/kobocat,SEL-Columbia/formhub,mainakibui/kobocat,GeoODK/onadata,makinacorpus/formhub,spatialdev/onadata,spatialdev/onadata,smn/onadata,kobotoolbox/kobocat,eHealthAfrica/formhub,jomolinare/kobocat,piqoni/onadata,ehealthafrica-ci/formhub,eHealthAfrica/onadata,ultimateprogramer/formhub,SEL-Columbia/nmis,hnjamba/onaclone,eHealthAfrica/formhub,makinacorpus/formhub,eHealthAfrica/formhub,kobotoolbox/kobocat,qlands/onadata,SEL-Columbia/formhub,jomolinare/kobocat,qlands/onadata