add some more assertions to rest serializer tests

assert that records with a known typeForRoot in
a payload get pushed. For example, if you have
a “post” model defined, but not a “comment” record
defined, the following payload will still load
all posts but not the comments:

{
  “posts”: [ // full posts body ],
  “comments”: [ // comments, but they won’t load ]
}