test framework for account routers