Fixes for Hostgroup, OS, and User tests

These are a few minor fixes to locators and tests to resolve test failures.