Add unit test for Model, add() and add_with_validation()