fix tests for newer Plack::Test

Fix a test which depends on older Plack::Test. Can you review it please?