Adapt test case to corresponding example