testing the model insert