Microtask selector and Fixing test cases