added test to verify async threading behavior