Wrote tests for AsyncTask.