Batch type class and test, now we test