Unit test and docs for 'route' option