Fixed null pointer in group arguments, improved tester