Fixed tests and made added test async.