spec and code for not saving empty item string