Tests for new util methods