Added basic test for success and failure modes of post_manifest method.