Fixes to data.doctest

Fixes to data.doctest