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.