Added test remove-operatingsystem for medium

please review it
thanks