Why is this initialised as an array and then over ridden in the beforeEach block as a string?
Better in this case to leave it undefined.