adding tests and updating obsolete attribute