added simple endless loop test