Fixing log levels, adding async resource and adding a test.