added test for attributes string keys