Updated unit tests for rename action

- rename action is now checked inside of ".nametext" element
- added test to ensure that display() correctly resets all actions
  including the rename one