test(key_sync): add test case for destructive set

Closes #52