Test Suite

Path.js uses a very straightforward method of testing. We manually construct
a series of method calls that the library should execute under normal working
conditions. We then use JavaScript to simulate the URL changes, and compare
the final result with what the result should actually be. If the end result
is anything but perfect, the test is a failure, and this version of Path.JS
is not suitable for use. The expected test results are as follows: