Refactoring set-ip-tos_spec.rb (refs #236)