Add tests for administrator code.