Removed needless variable and DRYed up some tests.

Logic of the tests are bit different since they are really run as three
separate tests that all start at '/'.