changed test to also allow relative paths