Add unit tests for test_utils