add tests for blocks adjacent to paragraphs