Add test for package fields

Check some package details of exported json.