Add controller tests for node groups and classes