Split test_path parsing into its own function.
Merge pull request #56 from w3c/jgraham/path_parsing

Split test_path parsing into its own function.