Adding test for regexp_router.add actsAsPrefix.
Adding a test to ensure truncated paths are always matched at the beginning.
Removing stray console.log calls in test.