complete test for post_spec