fixed mincde unit test