Added basic tests for util module.