Upload unit testing for active/inactive a post