5.6.1 eliminate duplication using shared examples