add test case for util and service