Fix helper spec.
Properly call jQuery each.
Fix expectations in step definitions.