Made tests use async