using here strings in lieu of concatenation
refactoring tests with a helper method