Group tests by feature