Test TaskAdapter.