stubbing out async methods