Added codeblock tests
Added support for codeblocks with optional language