added a test for the model
[#8]