fixes tests in checkec mode