Uses globals variables for L2 testing