added post model and unit test