Fixes UpgradableDatabaseTestIT

Makes the test use the correct path for a required resource.
Also makes it use correct temporary directories.