improved testing for background queued tests