Add tests for authority control gadget on beta

Bug 66251
will do that in a separate change as it is wrong in all files.