Fix broken rack middleware
Fix failing tests by shrinkwrapping demo project