Added undefine-tests and documentation concerning undefining