Tests/sync post

@tlovett1 Adding test for the bugfix submitted yesterday for removing posts from the index upon unpublishing.

Modeled after the `testPostSync` test. Comments/changes welcome.