spec and utility mod, plus addition of spec for helper methods