bugs: Add attribute leakage test