fixed front end test for single post.