fix issue #1
fix bugs with namespace (doubled ns and Closure at root level)
bootstrap for phpunit test suite
transform script test.php in phpunit tests