refactor(Legacy): Remove AppRobotTestBase and use FxLifetime.