first test case written for the save method in post model