Application stashing for unit tests.
Added a couple of routing tests.