refactor sample text into its own library to be shared across test groups