Some tests and fixes for EnumValuePermutations
Some fixes for generating object with enum values
Some more tests for enum generation
Some more tests