change batch_spec test and add new batch factories; closes #255