Trying to fix build on travis by not using global variables in test