Fixed template BaseValueObject. refs #436
Temporary files generated in tests now respect package folder layout. refs #436