Completed unit tests for utilities.