Adds tests for middlewares, organizes app