test all util functions