Added unit test for package attribute builder.