change absolute path to relative path of test Makefile