Refactoring member initialisation for code coverage