Fixing incorrect inheritence on structs for index records.
Adding test that filehandle is valid when loaded by the scan iterator