Tests for DF#dup and bug fix in accessors