test_enqueue_task

Add test for `enqueue_task`.