update docstring
relax some tests done with random data
Merge remote-tracking branch 'origin/master'