Bug-87: unit tests for utils - part 1