Tests: Add direct tests for test/utils.js