fix test fails and sparkngin queue that cause the test fail