FIX: typo in inline docs
FIX: minor issue in tests