Addition of Application tests and base middleware