added res and mag attributes, added dice popups to tests