Make all AsyncTask based tests run on the UI Thread

Apparently AsyncTask does not work reliably when called from
non UI threads. This makes sure that the execute method is
always called from the UI thread.

Change-Id: I8349789a24d1f394f4c8a063203c1aa4389cfbfd