fixing test failure when running all tets cases