Hi Michael,
If that’s the whole contents of the file, it looks right (and runs on my end). But only the section between the top metadata block and the "BEGIN TEST CASES” comment should appear under the Code tab. Zotero manages the rest for you.
If you’re trying to edit in Scaffold and test in Chrome, make sure you click Scaffold’s “Save to Zotero” button, then in the Zotero Connector preferences, go to Advanced -> Reset Translators. I’ll update the documentation to make that more clear.
And there’s no real reason to base this translator on Embedded Metadata. Building the item from scratch seems fine. EM only gets a couple fields.
Best,