Refactored a bit line dashed mode and added tests for it

I also updated the existing visual tests.