Fixed groups not being defined in local scope
Functional tests for simple buttons and collection form added