fix tests working with more absolute paths