Added unit test to improve quality of the paragraph-remove function