B2G testing