add assert stmt in post model test