Added a test case for flagged enums with a 0 value. Also fixed a reference issue in the project file