Android preview tool integration test refactoring Part of https://github.com/flutter/flutter/issues/145482