Fix error introduced to dd_as_py, bugs in tests
Fix error introduced to dd_as_py, bugs in tests

markflorisson/datashape,aterrel/datashape,FrancescAlted/datashape,cowlicks/datashape,cpcloud/datashape,ContinuumIO/datashape,llllllllll/datashape,aterrel/datashape,markflorisson/datashape,FrancescAlted/datashape,blaze/datashape,blaze/datashape,quantopian/datashape,ContinuumIO/datashape,cpcloud/datashape,llllllllll/datashape,quantopian/datashape,cowlicks/datashape