add save test to post model