In my opinion this has to do with how less resolves the relative paths which could also be the reason for the unit test failure.