Made tests relocatable, ie. external files are located relative to the test file instead of current directory.