tests: make independent of directory from which test launched