Add test case for destructuring