fix test for complex-case-sharing