Unit tests for the save_post hook