fix for running functional tests with symfony2 WebTestCase
Merge pull request #194 from kamilbiela/master

fix for using uploadable extension with functional (WebTestCase) tests