Added test remove-operatingsystem,update for medium

please review it
thanks