Refactor/DRY test code by making use of helper methods