test get group by name when name does not exist