added break/continue checks to statemet_check with tests