fix beam test