This is work-in-progress, but with this part changed, it passes
tests.  retrieveObjectByPrimaryKey() returns Record here. Next
will start on executeQuery()