Fixed bug when tests in executable partially used absolute paths.