SEC-2054: Polish

Fix the tests to use .getName() for assertions