Add test for package level.
Fix broken tests in package level.
Add some more test for package 'level'.