hack to force relative paths for images in tests