Improving performance tests
Some coding style things...
Optimizing modulo
Fixes major bug where failed merge of two mblocks was considered as succeeded.