`$` works perfectly fine now. Could you simply change this to 

```D
assert(s1[$ .. $].empty); 
assert(s2[$ .. $].empty);
```

(eg, what's in the comment).