more tests and a null check for batch options
test that error is throw when location isn't a string
Merge pull request #25 from calvinmetcalf/batch-tests

Batch tests