Keyword_end bug fix test