add test for executing code blocks