Added tests for replace_first_sentence