write jasmine spec for new edge case extra letters in string