Fix attr name in test