Remove hard-coded path in test.