complete tdd for model