Add test case for path module.

Actually there was a bug in ScriptablePath module, I fixed it and then added the test case.