author's fixing branch with test: [link](https://github.com/rhempel/umm_malloc/issues/11#issuecomment-354508273)