tidied up contexts in string_manipulator_spec