tests on the model