Merge "Fixed TestWithLooperRule switch for UiThreadStatement and ExpectException" into main