add test for undefined attributes