Add tests to goldback and group_by