Added a fn to assert the updated entities under OS

- Added a function to `assert_os` to assert the OS entities  (name, major, minor version partition table, template and medium)
- And updated tests