Latent structure and item sampling models for testing.