Added a profile test for checking package names
Added the negative case too