(#1428) - Fix possible race in basics test