tests and batching for store state