unit test for queue executor