Adding tests for subgroup differences