Fix tests and a bug in admin UI update

- Many tests had to be updated for the new UI
- Fix bug where Clear / Delete TM options were not visible