fixed test case using taskqueue