Added test for add-operatingsystem on ptable

Please review it
Thanks