Used TypeError for params error on the BatchWriter #55

- Added more unit tests