Extra tests for the new datadir parameter