Enhance headless test cases.