Added test remove-operatingsystem,update for medium

please review it
thanks
Missing asserting that the name is equal to the updated one.