Finished writing up tests for utils.