add test for whitelisted attributes.