Updated spec.js and helper files to adjust function name.