Finalize and test utils