filter history in model test case, clean deps