added more tests for hostgroup