This new dashing test, based on some code from Jeff Smith, does a pretty good job exploring all the cases that the dashing code needs to deal with.