Upload code for unit testing create post