add test snipped test code to understand the problem