Fixed bug with inconsistent base dir for testing data directories (snowy-evening #3)