Add model test for verifying fields and trailing comma