centralise AQL tests