ISPN-3301 Make sure tests create temporary files/directories in the appropriate places

https://issues.jboss.org/browse/ISPN-3301