 			input: [
 				['element', [1, 1], ['div', ['test1'], undefined], undefined, []]
 			]
-			
+
 			expect: [[
 				'echo \'<div class="test1"\';',
 				'',
 				'echo \'</div>\';'
 			]]
-			
+
 		'element with binding':
 			input: [
 				['element', [1, 1], ['div', ['test1'], undefined], ['Symbol', 'x'], []]
 			]
-			
+
 		'nested elements with binding':
 			input: [
 				['element', [1, 1], ['div', ['test1'], undefined], undefined, [

					[[ 'echo \' charset="\';', 'echo htmlspecialchars(\'utf-8\');', 'echo \'"\';' ] ],
				[]]
			]
			
		'element double quot with x':
			input: [ [ 'element', [ 1, 1 ], [ 'meta', '', undefined ], undefined,
					[ [ 'attribute', [ 1, 16 ], 'charset', '=',
						[ 'Quasi', undefined, [ [ 'String', 'utf-8', 'utf-8' ], [ 'Symbol', 'x' ] ] ] 
					] ]
				]]
            
			expect: [
				[ 'echo \'<meta\';',
					[[ 'echo \' charset="\';', 'echo htmlspecialchars(\'utf-8\'), htmlspecialchars($model->x);', 'echo \'"\';' ] ],
				[]]
			]

	document:
			    
		'extend':
			input: ['document', ['./test/test', 1, 1], '', undefined,
				[['text', [1, 1], undefined, ['Big sheep testcase']]]
			]
			
			expect: '<?php\necho \'<!doctype html>\', "\\n";\n echo \'Big sheep testcase\', "\\n";\n?>'
			
		'extend with before hook':
			input: [ 'document', [ './test/test', 1, 1 ], '', undefined,
				[
					[ 'fragment', [ 2, 3 ], 'headBlock', 'before',
						[[ 'element', [ 3, 9 ], [ 'style', '', undefined ], undefined,
							[[ 'attribute', [ 3, 10 ], 'src', '=', [ 'String', 'test.css' ]]] 
						]]
					],
					[ 'fragment', [ 1, 1 ], 'headBlock', undefined,

			input: [[
				'binding', [1, 1], null, ['Symbol', 'x'], []
			]]

			expect: [['echo htmlspecialchars($data->x);']]

		'binding of a list':
			input: [
				['binding', [1, 1], null,
