Refactor tests so checking for admin links is in one place
Whitespace