fix for using uploadable extension with functional (WebTestCase) tests

fixes #193