Add regression tests for pickleable record arrays