A score-type test for heterogeneity in cure rate models in a stratified population