Add groupBooks method to handTester