Implement `has writer` shared example.

Current spec status:
- 2.0: 344 examples, 0 failures in 0.10103 seconds.
- 2.1: 410 examples, 0 failures in 0.13299 seconds.