Would be good to add a comment here explaining that this uses shared logic, hence the minimal tests here.