Improved list initialization.
Added a test case for list val in generated scala enums.