fix the fragment mode
add test for initEnvironment
fix #38 Fix test case of the initEnvironment method

Remove useless attribute of test class and change default
value for properties file and output directory.
Merge pull request #95 from GerardPaligot/QA_38