Lock tests to specific commit ids