Fix paths for tests

Hi

I am using this patch to be able to run the tests with the recently introduced --run-tests option from the top-level directory. I am not sure it will suit to everybody, feel free to reject it.

Regards,
Julien