admin test refactoing red 2