Chapter 5 exercises. Adding shared examples and tests for helpers