Use unittest mock