add test for attri ruby style