Added test for medium operating_system

Please review it
Thanks
s/Association Failed/Could not associate the operating system to media?