fit test case to some commits