fixed phpunit.xml.dist
moved handling of context variables inside the wrapper
first 5 successfully running unit tests
unit test fix
added header
todo: add properties, add image stuff, clone for footer