Fix CI testing file and use absolute paths for test cases