updated tests for filename shortening (which now returns relative paths)