Added randomized testing, fixed bugs there, valgrind check.

MPMC is 100% correct now (though try_ operations have to be finished)