empty namespace is global namespace
add tests on PackageModel and fix an issue about lines/comments missing