Refactor admin page spec