Added unit tests to verify that AppRouter._processOnRoute() is passing correct arguments to _.invert()