refactoring the extract logic to enable a test to pass a string
trying to add a Test