Added spec for new and old attributes syntax