* fix some more tests by only creating an array for associated record IDs when needed