fix unstable hist test
Merge pull request #506 from ndawe/master

[MRG] fix unstable hist test