doctring updates
doctring updates and minor usage fixes
fixes to tests