test case with pickle error added