Fixing tests, adding async test, and removing warnings