key attr test