Refactoring of shared examples