add mock into requires