Refactoring the unit tests so code duplicates are reduced