add administrator factory with tests