Added test remove-operatingsystem,update for medium

please review it
thanks
Will be more complete if a info command is run to make sure the OS is removed