A goodness of fit test for the rasch model