Added tests for the async option