Adds example spec to reduce redundancy in tests.