Now unit test function works, but nothing new here.

TODO
- find out what's inside these batches and how unit test works