Fix version property in POM and tests' temporary files removal