create shared examples in spec file