Fixed broken tests for ptrs and arecords