Add test case for utility