fixed wrong brace violations for enums, added more permissive
whitespacing for enums, added test cases for enums