test some util methods