Test: use File.relative
Test: fix debug message on failure
Generate index named files