Add tests for fenced code blocks

Doesn't handle missing empty lines yet.