Unit tests
make tests work OK
Get the tests to Pass
Revert "Get the tests to Pass"

This reverts commit b382d7349eae39b1377d6cc3c8da2f7ad9fad839.
Refactor groups
update use of group_index to parent
Merge pull request #130 from humanmade/better-groups

Refactor Groups