rewritten logic for administration tests

rewritten logic for administration tests by analogy with external links