Test the logic for creating the post string