adding unit tests
editing batch jobs class with comments, code cleanup.