Added utility method test cases