Added tests for asynchronous POST requests