Added tests for the utils module