According to coverage test results from CodeCov, there are several issues in mdb and its tests. Overwritting was not tested at all  `mdb_write_bucket` not used in program  `mdb_free` not covered in program, resource leak may occur. 