Unit testing of util module