make TestCreateQueueWithAttributes deterministic for issues/18

I am not thrilled with the logic flow, but I think it fixes the issue.