minor changes to valid path test