[utils] Added XCTest based unit tests