Fix unit test in commerce module.