Added tests for utilities.