Added tests for toGroupArray