tests for new util functions