adding tests for util module