Add test case demonstrating bug when using partials in successive requests in Sinatra.
Fix bug when partials are used in multiple successive requests in Sinatra.