using Parameterized for persistent/nonpersistent

OrderTest has a few methods with a parameter on persistent / non persistent.
It gets more clear now to use @Parameterized.
fixing data output on test

HAPolicyConfigurationTest was setting up the data folder at the default location
what was creating a datafolder under the source code instead of the temp folder
Merge pull request #1886 from clebertsuconic/master-pr

fixes on the testsuite