Add a generator for generatoring persistence.xml in test hierarchy