Updated Test class generator with default value fields