I understand I don't need all values defined in the $testPage$testPage
array, so I stripped it down to the following:
Note: I based my script on the install data script in the Magento 2 CMS module located in vendor/module-cms/Setup/InstallData.phpvendor/module-cms/Setup/InstallData.php
.