Issue #22: fixed Min Cost test