Adding test for lib/utilities.js