Added get_paragraph and get_text methods with tests