Fix path for test file resources

Tests were using a relative path rather than a process resource path
which had unintended results.
In attempting to fix this, a problem presented with clicks to cke
editors, which this also fixes.
Merge pull request #389 from zanata/fix-test-path-environment

Fix path for test file resources