Soliton propagation in an erbium-doped fiber with and without a continuous wave background.