added e2e test script for router.