Write all test for Batch model
[Closes #121]