Fix unit-tests for utils: use done() correctly