FIX: Properly extend onBeforeStartTestSession so extensions can modify the $state array
Allow requireDefaultRecords population