attempt at fixing travis tests not initialising correctly